// 浏览器全局样式
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

// 浏览器原生控件暗黑模式
html.dark {
    color-scheme: dark;
}

html,
body,
#app {
    font-family: "Source Han Sans", Inter, "-apple-system",
        BlinkMacSystemFont, "PingFang SC",
        "Hiragino Sans GB", "noto sans", "Microsoft YaHei",
        "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    background-color: var(--color-bg-1);
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.4;
    background-color: var(--color-bg-1);
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

@font-face {
    font-family: "Source Han Sans";
    src: url("./assets/font/SourceHanSansCN-VF.woff2?url") format("woff2");

    font-weight: normal;
    font-style: normal;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    width: 6px;
    border-radius: 6px;
    background-color: var(--color-neutral-3);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-neutral-4);
}

// 火狐浏览器的滚动条样式
* {
    scrollbar-width: thin;
    scrollbar-color: #ccc #eee;
}

.arco-drawer-container .arco-drawer-mask {
    /* background-color: rgba(222, 222, 222, 0.752); */
    /* background-color: rgba(138, 138, 138, 0.6); */
    /* backdrop-filter: blur(0px); */
}

.arco-message {
    /* border: none !important; */
    background-color: var(--color-bg-opacity-2) !important;
    backdrop-filter: blur(20px) !important;
    user-select: none;
}